package com.office.personalOffice.workSchedule.model;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OaSchedule {

  private long scheduleId;
  private String scheduleText;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
  private Date scheduleDate;
  private long scheduleEmpId;
  private String empName;
  private long scheduleUsable;
  private String scheduleTitle;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
  private Date scheduleCreatetime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
  private Date scheduleDeletetime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
  private Date scheduleUpdatetime;
  private long scheduleCompletestatus;
  private long scheduleEmpedId;
  private String empedName;
  private Integer loginUserId;

}
